package com.gzy.xuexiziliao.service;

import com.gzy.xuexiziliao.common.result.PageResult;
import com.gzy.xuexiziliao.pojo.dto.AnonymousDTO;

import org.springframework.stereotype.Service;

import java.time.LocalDate;


public interface AnonymousPostService {

    /**
     * 添加帖子
     */
    void saveAnonymousPost(AnonymousDTO anonymousDTO);

    /**
     * 分页查询
     */
    PageResult page(Integer page, Integer pageSize, Byte category, LocalDate begin, LocalDate end);
}
